package us.icitap.timsportal.web.custom;

import us.icitap.timsportal.entity.Module;

import com.vaadin.ui.Button;
import com.vaadin.ui.themes.BaseTheme;

@SuppressWarnings("serial")
public class ModuleButton extends Button {
	
	private Module module = null;
	
	public ModuleButton(){
		super();
		setWidth("100%");
		setStyleName(BaseTheme.BUTTON_LINK);
	}
	
	public ModuleButton(String caption){
		this();
		setCaption(caption);
	}

	public Module getModule() {
		return module;
	}

	public void setModule(Module module) {
		this.module = module;
	}

}
